package fr.vahren.dotastrat.model;


public abstract class D2SItem extends D2SAbility {

	private int price;

	public abstract boolean isAvailable();

	/**
	 * Applies passive bonuses.
	 * 
	 * @param unit
	 *            The unit equipping the item.
	 */
	public abstract void equip(D2SHeroUnit unit);

	/**
	 * @return the price
	 */
	public int getPrice() {
		return price;
	}

	/**
	 * @param price
	 *            the price to set
	 */
	public void setPrice(int price) {
		this.price = price;
	}

}
